#![allow(unused_imports)]

#[macro_use]
extern crate macros;
#[macro_use]
extern crate getset;

extern crate rbatis;
extern crate core;

pub mod errors;
pub mod logger;
pub mod responses;
pub mod sessions;
pub mod validator;
pub mod db;
pub mod secret;
pub mod utils;

pub use macros::curd_entry;

pub use self::errors::internal_error;
pub use errors::AppError;

pub type Result<T> = std::result::Result<T, AppError>;
